package yws.mvcrumen.domain;

import java.io.Serializable;

public class work implements Serializable {
    private String workname;//工作名称
    private String place; // 工作的地点
    private User user;

    public String getWorkname() {
        return workname;
    }

    public void setWorkname(String workname) {
        this.workname = workname;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "work{" +
                "workname='" + workname + '\'' +
                ", place='" + place + '\'' +
                ", user=" + user +
                '}';
    }
}
